package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.api.domain.SysRole;

import java.util.List;

public interface IRoleService extends IService<SysRole> {
    int saveAll(SysRole role);

    List<Long> selectRoleListByUserId(Long userId);

    int updateRole(SysRole role);
}
